<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
	<br>
	<br>
	<div style="margin-left:25%;">
	<c:if test="${!empty positionList }">
				<c:forEach items="${positionList}" var="position">
					<div>
							<table style="border-bottom-style: solid;">
								<tr>
									<td>
										<table>
											<tr>
												<td>Name: ${position.name}</td>
											</tr>
											<tr>
												<td>Total places: ${position.totalPlaces}</td>
											</tr>
											<tr>
												<td>Project: ${position.project}</td>
											</tr>
											<tr>
												<td>Requirements: ${position.requirements}</td>
											</tr>
											<tr>
												<td>Department: ${position.department["name"]}</td>
											</tr>
											<tr>
												<td>Responsibilities: ${position.responsibilities}</td>
											</tr>
											<tr>
												<td>Active: ${position.active}</td>
											</tr>

										</table>
									</td>
									<td><img src="images/user.jpg" height="150" width="250"></td>
								</tr>
							</table>
					</div>
				</c:forEach>
			</c:if>
			</div>
</body>
</html>